home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-04-03 | 1.8 KB | 74 lines | [TEXT/MPS ] |
- // UMailingApplication.h
- // Copyright © 1984-96 by Apple Computer, Inc. All rights reserved.
-
- #ifndef __UMAILINGAPPLICATION__
- #define __UMAILINGAPPLICATION__
-
- #if qPowerTalk
-
- // MacApp
-
- #ifndef __UAPPLICATION__
- #include "UApplication.h"
- #endif
-
- #ifndef __UMAILABLE__
- #include "UMailable.h"
- #endif
-
- //----------------------------------------------------------------------------------------
- // Forward and external class declarations.
- //----------------------------------------------------------------------------------------
-
- class TAppleEvent;
- class TDocument;
-
- //========================================================================================
- // CLASS TMailingApplication
- //========================================================================================
-
- class TMailingApplication : public TApplication,
- public MMailing
- {
-
- MA_DECLARE_CLASS;
-
- public:
-
- TMailingApplication();
- // Constructor
-
- ~TMailingApplication();
- // Destructor
-
- void IMailingApplication(OSType itsMainFileType,
- OSType itsMailType,
- OSType itsCreator);
- // Initialization method for TMailingApplication.
-
- virtual void DoMenuCommand(CommandNumber aCommandNumber);
- // Handles the application specific menu commands.
-
- virtual void DoSetupMenus();
-
- virtual void DoToolboxEvent(TToolboxEvent* event);
-
- virtual TDocument* OpenOld(CommandNumber itsOpenCommand, TList* aFileList);
-
- virtual void GetFileTypeList(CommandNumber itsCommandNumber,
- TypeListHandle& typeList);
-
- virtual void DoAECreateElement(TAppleEvent* message,
- TAppleEvent* reply);
-
- virtual void Idle(IdlePhase phase);
-
- virtual void DoScriptCommand(CommandNumber aCommandNumber,
- TAppleEvent* message,
- TAppleEvent* reply);
- };
-
- #endif // qPowerTalk
-
- #endif // __UMAILINGAPPLICATION__
-